package com.cta.view.json;

import com.cta.entity.ServiceProvider;

public class ProviderJson {

	private String id;
	private String name;
	private String description;

	public ProviderJson(ServiceProvider provider) {
		this.name = provider.getName();
		this.description = provider.getDescription();
		this.id = String.valueOf(provider.getId());
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}
}
